package il.ac.technion.wiki.impl;

import il.ac.technion.wiki.api.IPageStripper;
import il.ac.technion.wiki.api.IWikiEngine;
import il.ac.technion.wiki.api.IWikiPage;
import il.ac.technion.wiki.api.IWikiStorage;
import il.ac.technion.wiki.api.WikiException;
import il.ac.technion.wiki.api.WikiStorageApi;

public class LightWikiEngine implements IWikiEngine {
	
	private WikiStorageApi<String> storage;
	
	private IPageStripper stripper;
	
	
	public LightWikiEngine(IPageStripper stripper, IWikiStorage storage) {
		this.stripper = stripper;
		 this.storage = new WikiStorage();
	}
	
	public void setPageStripper(IPageStripper stripper) {
		this.stripper = stripper;
	}
	
	public boolean addPage(IWikiPage newPage) throws WikiException {
		return true;
	}

	public boolean isTitleExist(String name) {
		return true;
	}
	
	public String search(String query) {
		return null;
	}
	
	public void removePage(String title) throws WikiException {
	}
	
	public IWikiPage modifyPage(String title) {
		return null;
	}
	
	public IWikiPage getPage(String name, double version) {
		return null;
	}

	

}
